//
//  LetterDetailViewController.m
//  DirectProDuct
//
//  Created by hl on 16/1/22.
//  Copyright (c) 2016年 ping. All rights reserved.
//

#import "LetterDetailViewController.h"
#import "LetterDetailView.h"
@interface LetterDetailViewController (){
    LetterDetailView *mainView;
}

@end

@implementation LetterDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self drawNavWithTitle:self.titleStr];
    [self drawBackButton];
    [self drawView];
    // Do any additional setup after loading the view.
}
-(void)drawView{
    mainView = [[LetterDetailView alloc] initWithFrame:CGRectMake(0, 78, KScreenWidth, KScreenHeight - 78)];
    mainView.sendPeopleLab.text = @"发件人: 张三";
    mainView.receivePeopleLab.text = @"收件人: 李四";
    mainView.timeLab.text = @"时 间: 2016-01-22";
    mainView.mainTextView.text = @"第五科技五块钱就来我家俄克拉请我尽快离开雷锋你看来烦你了妇女";
    [self.view addSubview:mainView];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
